package android.text;

import android.support.annotation.Nullable;

/**
 * 该类为了替代在单元测试中，测试类使用到Android原生系统的TextUtils类的方法
 * Created by xiaom on 2017/6/8.
 */
public class TextUtils {

    public static boolean isEmpty(@Nullable CharSequence str) {
        if (str == null || str.length() == 0)
            return true;
        else
            return false;
    }
}
